ChineseTxt=open('zhongwen.txt','r',encoding='UTF-8')
EnglishTxt=open('yingwen.txt','r',encoding='UTF-8')
Clist=[]
Elist=[]

for cline in ChineseTxt:
    cline = cline.rstrip()
    if len(cline) < 10:
        continue
    else:
        Clist.append("".join(cline.split()))

for eline in EnglishTxt:
    eline = eline.rstrip()
    if len(eline) < 10:
        continue
    else:
        new = eline.replace('\‘', '\'').replace('”', '"').replace('“','"').replace('\，','\,')
        Elist.append(new)

newtext=open('result.txt','w',encoding='UTF-8')
for i in range(len(Elist)):
    esentence=Elist[i].split('. ')
    csentence=Clist[i].split('。')
    for i in range(len(esentence)):
        newtext.write(esentence[i]+'\n'+csentence[i]+'\n')
